Before this in certain conditions (depending on the available
height) two items could be drawn in the same position. Bug #590278.
ClutterActor *actor = CLUTTER_ACTOR (iter->data);
ClutterActorBox child_box;
+ if (iter != children)
+ curheight += priv->spacing;
+
if ((curheight + priv->item_height) > avail_height)
{
overflow = TRUE;
clutter_actor_allocate (actor, &child_box, flags);
curheight += priv->item_height;
- if (iter != children)
- curheight += priv->spacing;
}
priv->items_per_page = n_fits;